﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Diagnostics;
using MTechApplicationServices.Resources;

namespace MTechApplicationServices
{
    public partial class AppMessage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string MsgID = Request.QueryString["MsgID"];

            if (!string.IsNullOrEmpty(MsgID))
            {
                switch (MsgID)
                {
                    case "AppIDStatusUpdated":
                        this.LabelError.Text = string.Format(WebResources.AppIDStatusUpdated, Request.QueryString["AppID"], Request.QueryString["Status"]);
                        break;
                    default:
                        this.LabelError.Text = WebResources.ResourceManager.GetString(MsgID);
                        break;
                }
            }
        }
    }
}